package net.jjjshop.common.entity.lbt;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import net.jjjshop.common.entity.order.Order;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 公排记录表
 */
@Data
@TableName("lb_public_up_cancel")
public class LbPublicUpCancelEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "")
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**
	 * 收货人
	 */
	@ApiModelProperty(value = "收货人")
	private String realName;
	/**
	 * 收货电话
	 */
	@ApiModelProperty(value = "收货电话")
	private String userPhone;

	/**
	 * 收货地址
	 */
	@ApiModelProperty(value = "收货地址")
	private String userAddress;
	/**
	 * 订单ID
	 */
	@ApiModelProperty(value = "订单ID")
	private String orderId;

	/**
	 * 0待处理，1已发货，2，已收货
	 */
	@ApiModelProperty(value = "0待处理，1已发货，2，已收货")
	private  Integer status;
	/**
	 * 邮费
	 */
	@ApiModelProperty(value = "邮费")
	private BigDecimal freight;

	@ApiModelProperty(value = "订单总价")
	@TableField(exist = false)
	private String totalPrice;
	@TableField(exist = false)
	private List<Order> productList;



	@ApiModelProperty("所在省份id")
	private Integer provinceId;

	@ApiModelProperty("所在城市id")
	private Integer cityId;

	@ApiModelProperty("所在区id")
	private Integer regionId;
	
}
